def my_decorator(func):
    def wrapper(request, *args, **kwargs):
        # print('自定义装饰器被调用了666')
        # print('请求路径%s' % request.path)
        return func(request, *args, **kwargs)

    return wrapper
